<?

if(!defined('BASEPATH')) exit('No direct script access allowed!');

if(!function_exists('load_template')){
	function load_template($myobject, $title, $subtitle, $view, $links, $pagination, $table, $message, $form_action){
		$data['title'] = $title;
		$data['subtitle'] = $subtitle;
		$data['mainview'] = $view;
		$data['links'] = $links;
		$data['pagination'] = $pagination;
		$data['table'] = $table;
		$data['message'] = $message;
		$data['form_action']=$form_action;
		$myobject->load->view('admin/template',$data);
	}	
}
?>
